package com.moon.cglib;

import com.moon.cglib.entiy.Ticket;
import com.moon.proxy.SellTickets;
import lombok.extern.slf4j.Slf4j;

@Slf4j
public class TicketsStation {


    public Ticket sell(String name) {
        log.info("出售了一张名为:{}的车票", name);
        Ticket.Builder builder = new Ticket.Builder();
        return builder.name(name).build();
    }
}
